package com.example.service;


import com.example.entity.Orderform;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
public interface IOrderformService {

   List<Map> findOrderformByStatus(Integer id,Integer status);

   List<Map> findOrderformByName(Integer id,Integer status);

   Map findOrderformStatusById(Integer id);

   Map findOrderformNameById(Integer id);
   //查看订单数量
   int findSum(Integer id);
   //查看营业额
   Double findPrice(Integer id);

   /**
    * 司机下单后新增订单
    */
   int insert(Orderform orderform);


   Orderform findOrderform(String writercoder);

   int updateWritercoder(Integer zid);

}
